package com.njtoyo.taxi.admin.service.platform;

import com.njtoyo.taxi.admin.rest.wrapper.platform.role.RoleCreateWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.platform.role.RoleListWrapper;
import com.taxi.entity.common.RestResult;

import java.util.Map;

public interface RoleService {
    RestResult findRolePage(RoleListWrapper roleListWrapper);

    RestResult findResource(Long roleId);

    RestResult create(RoleCreateWrapper roleCreateWrapper);

    RestResult update(Long roleId, Map params);

    RestResult delete(Long roleId);

    RestResult getAll();
}
